﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Teachers__information:Person
    {
        //编号（Id）姓名（Name）,性别 （Sex）、身份证号（Cardid）、
        //    联系方式（Tel）、职称（Title）、工资号（Wageno）
        private string title;
        private int wageno;
        public string Title
        {
            get { return this.title; }
            set { this.title = value; }
        }
        public int Wageno
        {
            get { return this.wageno; }
            set { this.wageno = value; }
        }
    
        public void teachers()
        {
            this.Id = 1;
            this.Name = "张三";
            this.Sex = "男";
            this.Cardid = 12234;
            this.Tel = 423423;
            this.title = "老师";
            this.wageno = 564897;
        }
        public  Teachers__information(string name)
        {
            teachers();
            Console.WriteLine(this.Id);
            Console.WriteLine(this.Name);
            Console.WriteLine(this.Sex);
            Console.WriteLine(this.Cardid);
            Console.WriteLine(this.Tel);
            Console.WriteLine(this.title);
            Console.WriteLine(this.wageno);
        }
       
    }
}
